/**
 * 
 */
package br.com.formulavendas.domainmodel;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * @author Fernando
 *
 */

@Entity
@Table (name="contato")
public class Contato 
	extends EntityBase
 {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public Contato() { }
	
	@Id  
	@SequenceGenerator(name="contato_id_seq", sequenceName="contato_id_seq", allocationSize=1)  
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="contato_id_seq")  
	private Integer id;
	private String ddd;
	private String numero;
	private String tipo;
	
	public Integer getId()
	{
		return this.id;
	}
	
	public String getDDD()
	{
		return this.ddd;
	}
	
	public String getNumero()
	{
		return this.numero;
	}
	
	public String getTipo()
	{
		return this.tipo;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}
	
	public void setDDD(String ddd)
	{
		this.ddd = ddd;
	}
	
	public void setNumero(String numero)
	{
		this.numero = numero;
	}
	
	public void setTipo(String tipo)
	{
		this.tipo = tipo;
	}
}
